﻿<?php //Seyret Component v.0.3//
/**
* @package Seyret
* @version 0.3
* @copyright Copyright (C) 2008 Mustafa DINDAR. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* Seyret Video Component is a free software.
* See seyrettos.html for license notices and details.
*/

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

echo $this->toolbar;
echo $this->modtoolbar;




$user =& JFactory::getUser();

if ($user->id > 0) { $userstatus = "online"; } else {$userstatus = "offline"; }
?>
<div id="userstatus" style=""><?php echo $userstatus;?></div>
<div id="keycheck" style="">ok</div>

<div id="userid" style=""><?php echo $user->id;?></div>
<div id="username" style=""><?php echo $user->username;?></div>
<div id="name" style=""><?php echo $user->name;?></div>
<div id="sidt" style=""></div>
<?php


if ($user->id > 0) { 
?>

<form id="addlinkform" name="addlinkform" action="index.php?option=com_seyret&amp;view=desktop&amp;task=addlinkform&amp;tmpl=component&amp;cdt=0" method="post" >
	
	<textarea  name="videoservervideolink" id="videoservervideolink"></textarea>
	<input type="submit" id="submit" value="Submit"   />
	

</form>	
<?php

} 


?>
